Skip to content

Print page errors and Monaco frame state when the Monaco foundation check fails - #39

Merged
rcosteira79 merged 1 commit into
mainfrom
fix/monaco-foundation-diagnostics
Nov 8, 2026
Merged

rcosteira79 merged 1 commit into
mainfrom
fix/monaco-foundation-diagnostics

Conversation

@rcosteira79

Copy link
Copy Markdown
Collaborator

The monaco (local) job failed twice on main after the --intent-file merge with only a bare Error at scripts/monaco-foundation-browser.mjs:48 and an empty Monaco pane in the screenshot. The same tree passed on the PR, passes locally (including CI=1), and passed on a full re-run, so it is intermittent and the log gave nothing to diagnose it.

On failure the check now also prints the error's name and message, page errors, console errors, CSP violations, fetched sources, workers, and each iframe's diffLab views, line-change count and model count.

Verified by forcing a failure locally: the new block prints the expected state, then the stack, and the script exits 1.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NKX1X4pbhxbit1zwXXMJG7

…heck fails

A failure on main reported only a bare Error at the first Monaco wait, which said nothing about why the diff never filled in.
@rcosteira79
rcosteira79 merged commit 9b47532 into main Nov 8, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant